﻿namespace VfQuestionsMy
{
    using System;
    using System.Drawing;
    using MultiLang;
    using Rsdn.Janus.CoreServices.NavigationTree;

    public class QuestionsMyItemInfo : INavigationTreeItemInfo
    {
        #region Implementation of INavigationTreeItemInfo

        public int Id
        {
            get { return PredefinedExtensionIds.VfQuestionMy; }
        }

        public string ItemKey
        {
            get { return GetType().Name; }
        }

        public int PositionOrder
        {
            get { return 30; }
        }

        public string Command
        {
            get { throw new NotImplementedException(); }
        }

        public Func<string> DisplayNameFunc
        {
            get
            {
                // My questions
                return () => ml.ml_string(1, "Мои вопросы");
            }
        }

        public Func<string> AdditionalInfo
        {
            get { return () => "No additional info"; }                //MLHIDE
        }

        public Image ItemImage
        {
            get
            {
                return Properties.Resources.myQuestions;
            }
        }

        public string ContextMenuName
        {
            get { throw new NotImplementedException(); }
        }

        #endregion
    }
}